package com.lanxiao.cloud.modules.file.infrastructure.enums;

import com.lanxiao.cloud.common.core.enums.BaseEnum;

/**
 * @author ：qiaoliang
 * @date ：2021-10-25
 */
public enum UploadType implements BaseEnum<UploadType, Integer> {
  ALIYUN(0, "阿里云"),
  QINIUYUN(1, "七牛云");

  private final Integer value;

  private final String desc;

  UploadType(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }

}
